package com.csaba.connector.axa;

public interface Codes
{

	final static String RP_ACCOUNT_LIST = "com.csaba.connector.axa.AccountList";
	final static String RP_SELECTED_ACCOUNT = "com.csaba.connector.axa.SelectedAccount";
	final static String RP_LANGUAGE = "com.csaba.connector.axa.Language";
	final static String LANGUAGE_HUNGARIAN = "hun";
	final static String LANGUAGE_ENGLISH = "enu";

	public final static String REQUEST_VERIFY_USERID = "/Login/Home/VerifyUP";
	// POST?UserName=aaaaaaaa&Password=********
	public final static String REQUEST_VERIFY_OTP = "/Login/Home/VerifyOTP";
	// POST?OTP=xxxxxx
	public final static String REQUEST_GET_CUSTOMER_INFO = "/JSON.aspx/ClientInfo";
	// POST?AccountNumber=
	public final static String REQUEST_GET_ACCOUNTS = "/JSON.aspx/Accounts";
	// POST?ClientID=xxxxxxxx&Locale=hun/enu&AccountNumber=
	public final static String REQUEST_SELECT_ACCOUNTS = "/JSON.aspx/SelectAccount";
	// POST?AccountNumber=<2nd 8block>
	public final static String REQUEST_ACCOUNT_LOGIN = "/JSON.aspx/AccountLogin";
	// POST?LoginData=<base64 encoded something like "Salted__***">&AccountNumber=
	public final static String REQUEST_CURRENT_TRANSACTION = "/JSON.aspx/CurrentTransactions";
	// POST?StartDate=yyyy-MM-dd&StopDate=yyyy-MM-dd&AccountNumber=<2nd 8block> -- stop date can be a month ahead
	public final static String REQUEST_ACCOUNT_OWNER = "/JSON.aspx/AccountOwner";
	// POST?AccountNumber=<2nd 8block>
	public final static String REQUEST_ACCOUNT_BALANCE = "/JSON.aspx/Balance";
	// POST?AccountNumber=<2nd 8block>
	public final static String REQUEST_LOGOUT = "/Main.aspx/Logoff";
	public final static String REQUEST_DUMMY = "/JSON.aspx/ExtendSession";

	public final static String REQUEST_TRANSACTION_HISTORY = "/JSON.aspx/TransactionHistory";
	// POST?StartDate=yyyy-MM-dd&StopDate=yyyy-MM-dd&AccountNumber=<2nd 8block> -- stop date can be a month ahead

	// GET

	//AccountOwner result: "Customer Name"
	//Balance result: {"__id":0,"OpeningBalance":1234.00,"CurrentBalance":1234.00}
}
